projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d98711
)
avoid round-tripping through string
author
Andy Russell
<arussell123@gmail.com>
Fri, 2 Dec 2016 19:40:37 +0000
(14:40 -0500)
committer
Andy Russell
<arussell123@gmail.com>
Thu, 8 Dec 2016 21:11:19 +0000
(16:11 -0500)
src/cargo/ops/cargo_compile.rs
patch
|
blob
|
history
diff --git
a/src/cargo/ops/cargo_compile.rs
b/src/cargo/ops/cargo_compile.rs
index a0e70e9ba3f7105e174e0dbf4ce3bf8161e56d98..8a5ed55c7237c2ccd3a6a39e3baa2f2190cd407e 100644
(file)
--- a/
src/cargo/ops/cargo_compile.rs
+++ b/
src/cargo/ops/cargo_compile.rs
@@
-199,7
+199,7
@@
pub fn compile_ws<'a>(ws: &Workspace<'a>,
let mut pkgids = Vec::new();
if spec.len() > 0 {
for p in spec.iter() {
- pkgids.push(
resolve_with_overrides.query(&p.to_string
())?);
+ pkgids.push(
p.query(resolve_with_overrides.iter
())?);
}
} else {
let root_package = ws.current()?;